algorithm for array deletion

welcome to shbcf.ru